{% extends webapp_config['LAYOUT'] %}

{% block meta_copydoc %}https://docs.google.com/document/d/1_uwPkHmAgV6_uE9ISqIgXjZGJxXPBD90vdeO95h7ikE/edit{% endblock %}

{% block content %}
<div id="main-content" class="p-strip-slanted--snapcraft">
  <h1 class="u-off-screen">Snapcraft</h1>
  <div class="u-fixed-width">
    {% if nps %}
      <div class="p-notification p-snapcraft-nps-banner js-notification-holder">
        <div class="p-notification__response">
          <p class="u-no-margin--bottom u-no-padding--top">
            Thank you so much 🙏. Your feedback is really valuable to us. <a href="#" class="js-nps-comment-toggle">Provide further comments</a>
          </p>
          <div class="p-snapcraft-nps-banner__form js-nps-comment u-hide">
            <form>
              <textarea rows="5" name="snapcraftNPSNotes"></textarea>
              <div class="row">
                <div class="col-10">
                  <p class="u-float-left u-no-margin--top u-no-padding--top u-no-margin--bottom">
                    <small>
                      Refer to Canonical's <a href="https://www.ubuntu.com/legal/data-privacy/snapcraft-nps" target="_blank" class="p-link--external">privacy notice</a>
                      and <a href="https://www.ubuntu.com/legal/data-privacy" target="_blank" class="p-link--external">privacy
                      policy</a> for information on how data will be processed.
                    </small>
                  </p>
                </div>
                <div class="col-2">
                  <button type="submit" class="has-icon u-float-right button--dark">Send</button>
                </div>
              </div>
            </form>
          </div>
        </div>
        <button arial-label="Close notification" class="p-icon--close js-notification-close">Close</button>
      </div>
    {% endif %}

    {% include 'partials/livestream-notification.html' %}

    <h2>The app store for Linux</h2>
    <p class="u-no-padding--top p-heading--four">Publish your app for Linux users &mdash;<br class="u-hide--small" /> for desktop, cloud, and Internet of Things.</p>
    <a href="/first-snap" class="p-button--positive">Package & publish your app</a>
  </div>
</div>

<section class="p-strip">
  <div class="row">
    <h3 class="p-muted-heading">Official snaps from major publishers</h3>
  </div>
  <div class="row">
    <div class="col-small-2 col-medium-3 col-2 col-logo u-align--center">
      <a href="/firefox">
        {{
          image(
            url="https://assets.ubuntu.com/v1/aae93857-logo-mozilla--snapcraft-homepage.svg",
            alt="Mozilla",
            width="146",
            height="145",
            hi_def=True,
            loading="eager"
          ) | safe
        }}
      </a>
      </div>
      <div class="col-small-2 col-medium-3 col-2 col-logo u-align--center">
        <a href="/publisher/kde">
          {{
            image(
              url="https://assets.ubuntu.com/v1/6958a93e-kde-logo-snapcraft-homepage.svg",
              alt="KDE",
              width="146",
              height="145",
              hi_def=True,
              loading="eager"
            ) | safe
          }}
         </a>
      </div>
      <div class="col-small-2 col-medium-3 col-2 col-logo u-align--center">
        <a href="/publisher/jetbrains">
          {{
            image(
              url="https://assets.ubuntu.com/v1/55f6dae7-logo-jetbrains--snapcraft-homepage.svg",
              alt="JetBrains",
              width="146",
              height="145",
              hi_def=True,
              loading="eager"
            ) | safe
          }}
        </a>
      </div>
      <div class="col-small-2 col-medium-3 col-2 col-logo u-align--center">
        <a href="/spotify">
          {{
            image(
              url="https://assets.ubuntu.com/v1/63d5fd3f-logo-spotify--snapcraft-homepage.svg",
              alt="Spotify",
              width="146",
              height="145",
              hi_def=True,
              loading="eager"
            ) | safe
          }}
        </a>
      </div>
      <div class="col-small-2 col-medium-3 col-2 col-logo col-logo--pushed u-align--center">
        <a href="/google-cloud-sdk">
          {{
            image(
              url="https://assets.ubuntu.com/v1/2d54fa27-logo-google--snapcraft-homepage.svg",
              alt="Google",
              width="146",
              height="145",
              hi_def=True,
              loading="eager"
            ) | safe
          }}
        </a>
      </div>
      <div class="col-small-2 col-medium-3 col-2 col-logo u-align--center">
        <a href="/code">
          {{
            image(
              url="https://assets.ubuntu.com/v1/7b03d4b8-logo-microsoft--snapcraft-homepage.svg",
              alt="Microsoft",
              width="146",
              height="145",
              hi_def=True,
              loading="eager"
            ) | safe
          }}
        </a>
      </div>
    </div>
  </div>
</section>

<div class="row">
  <hr />
</div>

<div class="p-strip">
  <div class="u-fixed-width">
    <h3 class="p-heading--two">Learn how to snap an app <br class="u-hide--large" /> in 30 minutes</h3>
    <p>What language or framework does your app use?</p>
  </div>
  {% include "partials/fsf_language.html" %}
</div>

<div class="row">
  <hr />
</div>

<div class="p-strip">
  <div class="row">
    <div class="col-4">
      <blockquote class="p-testimonial">
        <div class="p-testimonial__logo">
          <a href="/heroku">
            {{
              image(
                url="https://assets.ubuntu.com/v1/53b1b835-logo-heroku.svg",
                alt="Heroku",
                width="95",
                height="48",
                hi_def=True
              ) | safe
            }}
           </a>
        </div>
        <h4 class="p-testimonial__title">“The auto-updating feature is huge”</h4>
        <p class="p-testimonial__content">Due to the nature of our platform, we release updates more than daily which admittedly can be annoying for our users to constantly update.</p>
        <p class="p-testimonial__content">Therefore, having them done seamlessly in the background makes life for our users so much easier. It’s great to see snaps as the first serious attempt to try and unify the community.</p>
        <cite class="p-testimonial__citation">
          Jeff Dickey<br /> CLI engineer, <a href="https://www.heroku.com/" class="p-link--external">Heroku</a>
        </cite>
      </blockquote>
    </div>
    <div class="col-4">
      <blockquote class="p-testimonial">
        <div class="p-testimonial__logo">
          <a href="/code">
            {{
              image(
                url="https://assets.ubuntu.com/v1/e4c220b3-logo-microsoft.svg",
                alt="Microsoft",
                width="95",
                height="48",
                hi_def=True
              ) | safe
            }}
          </a>
        </div>
        <h4 class="p-testimonial__title">“Starting with snaps is easy”</h4>
        <p class="p-testimonial__content">We definitely find Snapcraft easier as it is yaml based and provides details of what artifacts are needed. Debian packaging has things that need to be followed which can be distribution specific, which creates complication.
        <p class="p-testimonial__content">The modular containment is what appealed about snaps and [we] can see it will be a lot more flexible. Starting with snaps is easy and the resources that are provided are clean and structured which aids adoption.</p>
        <cite class="p-testimonial__citation">
          Lee Coward and Rakesh Singh<br/> <a href="https://www.microsoft.com/net/" class="p-link--external">.NET (Microsoft)</a>
        </cite>
      </blockquote>
    </div>
    <div class="col-4">
      <blockquote class="p-testimonial">
        <div class="p-testimonial__logo">
          <a href="/publisher/jetbrains">
            {{
              image(
                url="https://assets.ubuntu.com/v1/a82ec61c-logo-jetbrains.svg",
                alt="JetBrains",
                width="44",
                height="48",
                hi_def=True
              ) | safe
            }}
          </a>
        </div>
        <h4 class="p-testimonial__title">“A major software discovery tool”</h4>
        <p class="p-testimonial__content">The Snap store provides additional exposure to our tools for many of our existing and potential users. The decision to use it came quite naturally. We believe the store will be a major software discovery tool on Linux, so the more people find out about our tools naturally and install them more easily, the better for everyone.</p>
        <cite class="p-testimonial__citation">
          Aleksey Rostovskiy<br /> Engineer, <a href="https://www.jetbrains.com/" class="p-link--external">JetBrains</a>
        </cite>
      </blockquote>
    </div>
  </div>
</div>

<div class="row">
  <hr />
</div>

<div class="p-strip">
  <div class="row">
    <div class="col-6">
      <h3 class="p-heading--two"> One build <br>for all Linux and IoT</h3>
    </div>
    <div class="col-6">
      <p>Snaps work across Linux on any distribution or version. Bundle your dependencies and assets, simplifying installs to a single standard command.</p>
      <p><a href="/docs/installing-snapd">See all supported distributions</a></p>
    </div>
  </div>
  <div class="row">
    <div class="col-small-2 col-medium-2 col-2 col-logo">
      <a class="p-logo-link" href="/docs/installing-snap-on-ubuntu">
        {{
          image(
            url="https://assets.ubuntu.com/v1/4e18e57c-logo-ubuntu--in-card.png",
            alt="Ubuntu",
            width="155",
            height="155",
            hi_def=True
          ) | safe
        }}
      </a>
    </div>
    <div class="col-small-2 col-medium-2 col-2 col-logo">
      <a class="p-logo-link" href="/docs/installing-snap-on-debian">
        {{
          image(
            url="https://assets.ubuntu.com/v1/f7f680fb-debian.png",
            alt="Debian",
            width="155",
            height="155",
            hi_def=True
          ) | safe
        }}
      </a>
    </div>
    <div class="col-small-2 col-medium-2 col-2 col-logo">
      <a class="p-logo-link" href="/docs/installing-snap-on-linux-mint">
        {{
          image(
            url="https://assets.ubuntu.com/v1/2ce868d9-mint.png",
            alt="Mint",
            width="155",
            height="155",
            hi_def=True
          ) | safe
        }}
      </a>
    </div>
    <div class="col-small-2 col-medium-2 col-2 col-logo">
      <a class="p-logo-link" href="/docs/installing-snap-on-raspbian">
        {{
          image(
            url="https://assets.ubuntu.com/v1/eccf1818-raspberrypi.png",
            alt="RaspberryPi",
            width="155",
            height="155",
            hi_def=True
          ) | safe
        }}
      </a>
    </div>
    <div class="col-small-2 col-medium-2 col-2 col-logo col-logo--pushed">
      <a class="p-logo-link" href="/docs/installing-snap-on-arch-linux">
        {{
          image(
            url="https://assets.ubuntu.com/v1/44789cf1-arch.png",
            alt="arch",
            width="155",
            height="155",
            hi_def=True
          ) | safe
        }}
      </a>
    </div>
    <div class="col-small-2 col-medium-2 col-2 col-logo">
      <a class="p-logo-link" href="/docs/installing-snap-on-fedora">
        {{
          image(
            url="https://assets.ubuntu.com/v1/f24733d2-fedora.png",
            alt="fedora",
            width="155",
            height="155",
            hi_def=True
          ) | safe
        }}
      </a>
    </div>
  </div>
</div>

<div class="row">
  <hr />
</div>

<section class="p-strip">
  <div class="row">
    <div class="col-6">
      <h3 class="p-heading--two">Showcase to millions</h3>
      <p>Reach beyond your existing audience with a listing on the Snap Store, the front page for app discovery on Ubuntu and other popular distros.</p>
      <p><a class="p-button--neutral" href="/store">Browse the Snap Store</a></p>
    </div>
    <div class="col-6">
      {{
        image(
          url="https://assets.ubuntu.com/v1/c87dc31d-showcase-to-millions.png",
          alt="Snap details page",
          width="536",
          height="302",
          hi_def=True
        ) | safe
      }}
    </div>
  </div>
</section>

<div class="row">
  <hr />
</div>

<section class="p-strip">
  <div class="row">
    <div class="col-6">
      <h3 class="p-heading--two">Measure user growth</h3>
      <p>Make data-driven decisions with active install metrics. Watch as automatic updates migrate users to your latest release. Understand your audience with geographic and version breakdowns.</p>
    </div>
    <div class="col-6">
      {{
        image(
          url="https://assets.ubuntu.com/v1/6a7a7b93-analytics.png",
          alt="Snap metrics",
          width="536",
          height="302",
          hi_def=True
        ) | safe
      }}
    </div>
  </div>
</section>
{% endblock %}

{% block scripts_includes %}
<script src="{{ static_url('js/dist/public.js') }}" defer></script>
{% if nps %}
  <script src="//app-sjg.marketo.com/js/forms2/js/forms2.min.js" defer></script>
{% endif %}
{% endblock %}

{% block scripts %}
<script>
  window.addEventListener("DOMContentLoaded", function() {
    Raven.context(function () {
      snapcraft.public.initFSFLanguageSelect(document.querySelector('.js-fsf-language-select'));
      snapcraft.public.initExpandableYaml();

      {% if nps %}
        snapcraft.public.nps();
      {% endif %}
    });
  });
</script>
{% endblock %}
